cmake_minimum_required(VERSION 3.10)

project(clog VERSION 1.0 LANGUAGES CXX)

set(CMAKE_CXX_STANDARD 20)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

include_directories(include)

file(GLOB SOURCES "src/*.cpp")

add_library(clog ${SOURCES})

add_executable(example examples/example_main.cpp)
target_link_libraries(example clog)

enable_testing()
add_subdirectory(tests)